<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* #app{
            display: none;
        } */
        [v-cloak]{
            display: none;
        }

        button{
            color:red
        }

        [type]{
            color:orange
        }

        button[type=reset]{
            color:green
        }
    </style>
</head>
<body>
    <button>按钮1</button>
    <button type="submit">按钮2</button>
    <button type="reset">按钮3</button>


    <div v-cloak id="app">
        <p>解决删除问题</p>
        <p>{{str}}</p>
    </div>
    <script src="./node_modules/vue/dist/vue.global.js"></script>
    <script>
        const { createApp} = Vue;

        createApp({
            data:function(){
                return {
                    str:'hello world'
                }
            }
        }).mount('#app')
    </script>
</body>
</html>